import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

import User from '@/components/User'
import Test from '@/components/Test'

Vue.use(Router)

export default new Router({
	mode:'history',
    routes: [
        {
            path: '/',
            name: 'HelloWorld',
            component: HelloWorld
        },
        {
        	path: '/test',
            name: 'test',
            component: Test
        },
        {
            path: '/user',
            name: 'user',
            component: User
        }
    ]
})
